﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>销售产品 - {config.webname}</title>
    <link href="{config.templateskin}/images/style.css" type="text/css" rel="stylesheet">
    <link href="{config.templateskin}/images/css.css" type="text/css" rel="stylesheet">
</head>
<body>
    <!--Header-->
    <%template src=/_top.html/%>
    <!--/Header-->
    <div class="blank10 clear">
    </div>
    <!--top bar-->
    <div class="index_main4">
        <div class="tit">
            产品销售
            <ul class="sub_nav">
                <%set (DataTable){category_list1}=get_category_child_list(channel_id, 0)%>
                <%loop cdr1 category_list1%>
                <li class="n<%write cdr1__loop__id%>"><a href="<%linkurl("goods_list",{cdr1[id]})%>">
                    {cdr1[title]}</a></li>
                <%/loop%>
            </ul>
        </div>
    </div>
    <!--/top bar-->
    <div class="blank10 clear">
    </div>
    <!--主体内容-->
    <div class="photomain3">
        <div class="left">
            <div class="left01">
                <div class="tit">
                    产品分类
                </div>
                <div class="left01box">
                    <ul class="navbar">
                        <%set (DataTable){category_list2}=get_category_child_list(channel_id, 0)%>
                        <%loop cdr2 category_list2%>
                        <li>
                            <h4>
                                <a href="<%linkurl("goods_list",{cdr2[id]})%>">{cdr2[title]}</a></h4>
                            <div class="list">
                                <%set (DataTable){category_list21}=get_category_child_list(channel_id, {strtoint({cdr2[id]})})%>
                                <%loop cdr21 category_list21%>
                                <a href="<%linkurl("goods_list",{cdr21[id]})%>">{cdr21[title]}</a>
                                <%/loop%>
                            </div>
                        </li>
                        <%/loop%>
                    </ul>
                </div>
                <div class="bot">
                </div>
            </div>
            <div class="blank10 clear">
            </div>
            <div class="left01">
                <div class="tit">
                    精品推荐</div>
                <div style="border-left: #E6E6E6 1px solid; border-right: #E6E6E6 1px solid;">
                    <div class="focus_list">
                        <ul>
                            <%set (DataTable){redgoods}=get_goods_list(channel_id, 0, 9, "is_red=1 and img_url<>''")%>
                            <%loop reddr redgoods%>
                            <li><a title="{reddr[title]}" href="<%linkurl("goods_show",{reddr[id]})%>">
                                <img src="{reddr[img_url]}" width="100" height="100" alt="{reddr[title]}" />
                                <span><%cutstring({reddr[title]},5)%></span> </a></li>
                            <%/loop%>
                        </ul>
                        <div class="clear">
                        </div>
                    </div>
                </div>
                <div class="bot">
                </div>
            </div>
        </div>
        <div class="right">
            <div class="tit">
                商品展示</div>
            <div class="rightbox">
                <ul>
                    <%set (DataTable){goods_list}=get_goods_list(channel_id, 0, 16, "is_red=1")%>
                    <%loop listdr goods_list%>
                    <li style="height: 200px;">
                        <div>
                            <a href="<%linkurl("goods_show",{listdr[id]})%>" title="{listdr[title]}">
                                <img width="142" height="130" src="{listdr[img_url]}" alt="{listdr[title]}"></a></div>
                        <div class="title">
                            <a href="<%linkurl("goods_show",{listdr[id]})%>" title="{listdr[title]}">
                                <%cutstring({listdr[title]},20)%></a></div>
                    </li>
                    <%/loop%>
                </ul>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>
    <!--/主体内容-->
    <div class="blank10 clear">
    </div>
    <!--Footer-->
    <%template src=/_bottom.html/%>
    <!--/Footer-->
</body>
</html>
